#include "mainwindow.h"

MainWindow::MainWindow(QWidget *parent)
    : QMainWindow(parent)
{
    stroka.setText("Hello, I'm working! Work later... bla bla bla...Thanks to my creator Boychenko!!! ");
    QSlider *slider = new QSlider(Qt::Horizontal);
    slider->setRange(0, 100);
    slider->setValue(0);
    connect(slider, SIGNAL(valueChanged(int)),&stroka, SLOT(change(int)));
    lay.addWidget(&stroka);
    lay.addWidget(slider);
    widget.setLayout(&lay);
    setCentralWidget(&widget);
}

MainWindow::~MainWindow()
{

}

